﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="list-images.ascx.cs" Inherits="templates_client_usercontrols_list_images" %>

<!-- Begin page content-->                        
<table style="margin-top:5px; width:504px;" cellpadding="0" cellspacing="0">
    <tr style="background-image:url(../templates/client/images/bar_title_middle.png); background-repeat:no-repeat; height:35px;">
        <td valign="top" align="left">
            <img src="../templates/client/images/arrow_title.png" alt="arrow_title" width="20px" style="margin-left:5px; margin-right:5px; margin-top:7px;" />
            <span class="title_bar_content" style="margin-top:10px;">Danh sách hình ảnh</span>
        </td>
    </tr>
    <tr>
        <td>            
            <ul style="padding:0px; margin-left:0px;">
                <asp:Repeater ID="rptDanhSachHinhAnh" runat="server">
                    <ItemTemplate>
                        <li class="image">                      
                            <img src='<%# "../uploads/imagesupload/" + TenHinhAnh( Convert.ToInt32(Eval("IdChuDe"))) %>' class="image_link"/>
                            <div style="margin-top:140px; padding-right:10px; padding-left:10px">
                                <a href='<%# "xemanh.aspx?action=view&chude=" + Eval("IdChuDe") %>' style="text-decoration:none; line-height:20px;"><%# Eval("TenChuDe") %></a>
                            </div>
                        </li>
                    </ItemTemplate>
                </asp:Repeater>                                                                 
            </ul>
            <%--<ul style="padding:0px; margin-left:0px; margin-top:-10px;">
                <li class="text_link"><a href="#">Hình ảnh tổ chức</a></li>
                <li class="text_link"><a href="#">Hình ảnh tổ chức</a></li>
                <li class="text_link"><a href="#">Hình ảnh tổ chức của sở tài chính tình Gia Lai nói chung</a></li>                
            </ul>
            
            <ul style="padding:0px; margin-left:0px;">
                <li class="image"><img src="../uploads/images/thumb/1.jpg" class="image_link"/></li>
                <li class="image"><img src="../uploads/images/thumb/2.jpg" class="image_link"/></li>
                <li class="image"><img src="../uploads/images/thumb/3.jpg" class="image_link"/></li>                
            </ul>
            <ul style="padding:0px; margin-left:0px; margin-top:-10px;">
                <li class="text_link"><a href="#">Hình ảnh tổ chức</a></li>
                <li class="text_link"><a href="#">Hình ảnh tổ chức</a></li>
                <li class="text_link"><a href="#">Hình ảnh tổ chức</a></li>                
            </ul>--%>
        </td>
    </tr>
    <tr style="background-image:url(../templates/client/images/footer-page-content2.png); background-repeat:repeat-x; height:40px">
        <td>
            <div runat="server" id="msgNoRows" style="display:none; float:left; margin-left:0px; margin-bottom:20px; width:200px;">Dữ liệu đang cập nhật...</div>
            <ul class="paging" runat ="server" id="PhanTrang">
                <li>
                    <asp:LinkButton ID="lbtnFirst" runat="server" CausesValidation="false" 
                                OnClick="lbtnFirst_Click">Trang đầu</asp:LinkButton>
                </li>
                <li>
                    <asp:LinkButton ID="lbtnPrevious" runat="server" CausesValidation="false" 
                                OnClick="lbtnPrevious_Click">Trang trước</asp:LinkButton>
                </li>
                
                    <asp:Repeater ID="dlPaging" runat="server" OnItemCommand="dlPaging_ItemCommand" 
                        OnItemDataBound="dlPaging_ItemDataBound">
                        <ItemTemplate>
                            <li>                                
                                <asp:LinkButton ID="lnkbtnPaging" runat="server" 
                                    CommandArgument='<%# Eval("PageIndex") %>' CommandName="Paging" 
                                    Text='<%# Eval("PageText") %>'></asp:LinkButton>  
                            </li>                              
                        </ItemTemplate>
                    </asp:Repeater>
                    <%--<asp:DataList ID="dlPaging" runat="server" OnItemCommand="dlPaging_ItemCommand" 
                        OnItemDataBound="dlPaging_ItemDataBound" RepeatDirection="Horizontal">
                        <ItemTemplate>                                
                            <asp:LinkButton ID="lnkbtnPaging" runat="server" 
                                CommandArgument='<%# Eval("PageIndex") %>' CommandName="Paging" 
                                Text='<%# Eval("PageText") %>'></asp:LinkButton>                                
                        </ItemTemplate>
                    </asp:DataList>--%>
                                        
                <li>
                    <asp:LinkButton ID="lbtnNext" runat="server" CausesValidation="false" 
                                OnClick="lbtnNext_Click">Trang tiếp</asp:LinkButton>
                </li>
                <li>
                    <asp:LinkButton ID="lbtnLast" runat="server" CausesValidation="false" 
                                OnClick="lbtnLast_Click">Trang cuối</asp:LinkButton>
                </li>                        
                <asp:Label ID="lblPageInfo" runat="server" Visible="false"></asp:Label>
                <%--<li><a href="#">Trang đầu</a></li>
                <li><a href="#">Trang trước</a></li>
                <li class="select"><a href="#">1</a></li>
                <li><a href="#">2</a></li>
                <li><a href="#">3</a></li>
                <li><a href="#">4</a></li>
                <li><a href="#">5</a></li>
                <li><a href="#">Trang tiếp</a></li>
                <li><a href="#">Trang cuối</a></li>--%>
            </ul>
        </td>
    </tr>
</table>                                                                      
<!-- Begin page content-->